<?php
session_start();

unset($_SESSION["login"]);
unset($_COOKIE[session_name()]);

session_destroy();

header('Location: ' . p());
exit;